The SimpleMenu Component > FSimpleMenu.getButtonWidth() |
FSimpleMenu.getButtonWidth()
Availability
Flash Player 6.
Usage
sm_instance.getButtonWidth()
Parameters
None.
Returns
Number; the pixel-width of the buttons.
Description
Gets the width of all the buttons.
Example
The following code prints the button width:
var buttonWidth = sm.getButtonWidth(); trace (buttonWidth);
See also